package com.tudouji.project.pay.mapper;

import com.tudouji.project.pay.domain.Payorderlist;

import java.util.List;

/**
 * 支付明细Mapper接口
 *
 * @author tudouji
 * @date 2021-04-09
 */
public interface PayorderlistMapper
{
    /**
     * 查询支付明细
     *
     * @param guid 支付明细ID
     * @return 支付明细
     */
    public Payorderlist selectPayorderlistById(String guid);
    public List<Payorderlist> selectPayorderlistByPayinfoguid(String guid);

    /**
     * 查询支付明细列表
     *
     * @param payorderlist 支付明细
     * @return 支付明细集合
     */
    public List<Payorderlist> selectPayorderlistList(Payorderlist payorderlist);

    /**
     * 新增支付明细
     *
     * @param payorderlist 支付明细
     * @return 结果
     */
    public int insertPayorderlist(Payorderlist payorderlist);

    /**
     * 修改支付明细
     *
     * @param payorderlist 支付明细
     * @return 结果
     */
    public int updatePayorderlist(Payorderlist payorderlist);

    /**
     * 删除支付明细
     *
     * @param guid 支付明细ID
     * @return 结果
     */
    public int deletePayorderlistById(String guid);

    /**
     * 批量删除支付明细
     *
     * @param guids 需要删除的数据ID
     * @return 结果
     */
    public int deletePayorderlistByIds(String[] guids);
}
